# -*- coding:utf-8 -*-
# proxies-设置代理
import requests

url = "http://httpbin.org/ip"   # 此地址可以返回本机ip

# 替换代理ip
proxy = {
    "http": "http://183.221.50.92:8123"
}


response = requests.get(url, proxies=proxy)
print(response.text)
